home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr48
/
pasclern.zip
/
WHILELP.PAS
< prev
next >
Wrap
Pascal/Delphi Source File
|
1993-04-01
|
281b
|
14 lines
PROGRAM while_loop_example;
VAR counter : INTEGER;
BEGIN
counter := 4;
WHILE counter < 20 DO
BEGIN
WRITE('We are in the WHILE loop, waiting ');
WRITE('for the counter to reach 20. It is',counter:4);
WRITELN;
counter := counter + 2;
END;
END.